<?php
/**
 * Project: thinkphp-inaction
 * User: xialei
 * Date: 2016/8/13 0013
 * Time: 11:25
 */

$config = array(
	'URL_CASE_INSENSITIVE' => false,
	'URL_MODEL' => 2,
	'URL_HTML_SUFFIX' => '',
	'site' => array(
		'name' => 'ThinkPHP博客'
	),
	//'MODULE_ALLOW_LIST' => array('Qiaoxi', 'Admin'),
	'DEFAULT_MODULE' => 'Home',
	'LAYOUT_ON' => false
);
 
$db= array( 
//下面的网址说明了在连接sql2000时为什么用pdo连接https://blog.csdn.net/yunxian_19/article/details/53992256
'DB_TYPE'  =>  'Sqlsrv',// 数据库类型  
'DB_NAME'  =>  'Agency',// 数据库名  
'DB_USER'  =>  'hezuo',// 用户名  
'DB_PWD'   =>  'qiaoxifangchanhezuo$&',// 密码  
'DB_DSN'   =>  'Sqlsrv:host=118.31.69.203:1502;dbname=Agency;charset=utf8;',
);

return array_merge($config, $db);